package com.rao.gmall.feign.user;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.rao.gmall.feign.user.impl.UserFeignClientImpl;
import com.rao.gmall.model.user.UserAddress;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

/**
 * @author nzmxfan
 * @create 2021-08-20-21:45
 */
@FeignClient(value = "service-user", fallback = UserFeignClientImpl.class)
@RequestMapping("/api/user")
public interface UserFeignClient {

    @GetMapping("/getUserAddresses")
    List<UserAddress> getUserAddresses();



}
